from zz import zz_code, zz_return, zz_str
from game import zz_game
import uiautomator2 as u2
import api_game

# print(zz_game.config_path)
# zz_game.config_path_set("test.json")
# print(zz_game.config_path)

# print(zz_code.date_now())
#
# zz_game.config_path_set('./game_config_Double.json')
# r = zz_game.config_to_return()
# # game_dict = zz_game.r_to_dict(r)
# print(r.get_data('__account_id'))

# game_dict = zz_game.r_to_dict(r)
# game_count = len(game_dict)  # 游戏总数
# game_count_ok = 0  # 游戏成功-总数
# game_items = game_dict.items()
# for k, v in game_items:
#     if v['state']:
#         game_count_ok += 1
# title = f"game: {game_count_ok}/{game_count}"
# print(title)

# init = 1800
# sum = 0
# for i in range(10):
#     add = i * 100
#     sum += (init + add) * 12
#     print(f"第{i + 1}年，加工资：{add}，每月：{init + add}，总收入：{sum}")


data = {}
print(data['test'])